package com.study.source;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * 自定义物流消息通信信道(source)
 */
public interface LogisticSource {

    //输出信道名称
    String OUTPUT = "logisticsOutput";

    //信道名称、对应到yml文件的配置
    @Output(LogisticSource.OUTPUT)
    MessageChannel logisticsOutput();
}
